  <script src="http://maps.google.com/maps?file=api&v=2&sensor=true&key=ABQIAAAAOwWCGwRYp76jMzcTHSAZJxRiKXZ7DXrLzxyWAdGBhEoVkrucchSRf8ZK-in_QWw4Q9UXcM6WsNif1Q"
    type="text/javascript">
  </script>
<div id="left">
<div id="breadcrumb">Add a new story in <?php echo $city['City']['name']; ?>, <?php if (strlen($city['Region']['name'])) { echo $city['Region']['name'] . ', '; } echo $city['Country']['name'] ; ?></div>
<p>
Creating a story at (<?php echo $city['City']['latitude']; ?>, <?php echo $city['City']['longitude']; ?>). Please fill out the form below the map.</p>
<div class="google_maps_city"><div id="map_canvas" style="width: 587px; height: 200px;"></div></div>
 	<script type="text/javascript">
		var center;
		var markerLoc;
		var map;
		var blueIcon;
		
		function initialize() {
		  map = new GMap2(document.getElementById("map_canvas"));
		  center = new GLatLng(<?php echo $latitude; ?>, <?php echo $longitude; ?>);
		  map.setCenter(center, 15);
		  map.setUIToDefault();
		  map.setMapType(G_HYBRID_MAP);
		  blueIcon = new GIcon(G_DEFAULT_ICON);
		  blueIcon.image = "http://maps.google.com/mapfiles/ms/icons/blue-dot.png";
		  blueIcon.iconSize = new GSize(32,32);
		  blueIcon.iconAnchor = new GPoint(15,31);
		  
		  var marker = new GMarker(map.getCenter(), {draggable: false, icon: blueIcon});
		  map.addOverlay(marker);
		}
	</script>
<?php echo $form->create('Story');?>
	<fieldset>
 		<legend><?php __('Add Story');?></legend>
 		<i>Note: images can only be added after you've saved your story!</i><br />
	<?php
		echo $form->input('title');
		echo $form->input('message',array('cols' => 100, 'style' => 'width:500px;height:200px;'));
		echo $form->hidden('city_id');
		echo $form->hidden('latitude');
		echo $form->hidden('longitude');
		echo $form->submit('/img/submit.jpg' , array( 'alt' => 'submit', 'id' => 'imgbtnst'));
	?>
	</fieldset>
	<br />
						 		

</div>
<script type="text/javascript">
initialize();
</script>